<div class="form-group">
	<label class="col-sm-3 control-label"><?php echo $params['label']; ?></label>
	<div class="col-sm-7" data-errors="<?php echo json_encode($errors)?>">
		<input	name="<?php echo $name ?>"
			value="<?php echo $this->txt2attr($value); ?>"
			type="text"
			class="form-control"
			<?php echo $this->prepareAttr($params['htmlOptions']) ?>
			>

		<div class="element-notice description"><?php echo $params['description']; ?></div>
		<div class="element-notice error"><?php echo implode(', ', $errors) ?></div>
	</div>
</div>